﻿using System;
using System.Collections.Generic;

namespace MockNetCore
{
    public class Rule
    {
        // 1 name, 2 inc, 3 range, 4 decimal
        public List<String> parameters { get; set; } = new List<string>();

        // 1 min, 2 max
        public bool isRange { get; set; }

        public int? min { get; set; }
        public int? max { get; set; }

        // min-max
        public int? count { get; set; }

        // 是否有 decimal
        public bool isDecimal { get; set; }

        public int? dmin { get; set; }
        public int? dmax { get; set; }

        // dmin-dimax
        public int? dcount { get; set; }
    }
}